package insight.google.game.era.service;

import java.util.List;


import org.directwebremoting.annotations.RemoteProxy;

import insight.google.game.era.bo.GameRoom;
import insight.google.game.era.bo.GameUser;
import insight.google.game.era.client.proxy.HistoryClientProxyImpl;
import insight.google.game.era.core.Util;
import insight.google.game.era.mgr.HistoryManger;

@RemoteProxy(name="HistoryService")
public class HistoryServiceImpl implements HistoryService {

	@Override
	public GameRoom getRoomHistory() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void getUserHistory(String userName, String jsComponentId){
		HistoryManger historyManager = HistoryManger.getInstance();
		historyManager.getUserHistoryByUserName(userName,jsComponentId);
		
		
	}
	
	@Override
	public void getRoomHistory(String roomName, String jsComponentId){
		HistoryManger historyManager = HistoryManger.getInstance();
		historyManager.getRoomHistoryByRoomName(roomName,jsComponentId);
		
	}

}
